package com.xxrl.hmwork.conf;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author mis
 */
@Component
@ConfigurationProperties(prefix = "my")
public class MyConfig {

    private String adminUsername;

    private String adminPassword;

    private String cloudDir;

    private String uploadDir;

    private String env;

    public String getCloudDir() {
        return cloudDir;
    }

    public void setCloudDir(String cloudDir) {
        this.cloudDir = cloudDir;
    }

    public String getUploadDir() {
        return uploadDir;
    }

    public void setUploadDir(String uploadDir) {
        this.uploadDir = uploadDir;
    }

    public String getEnv() {
        return env;
    }

    public void setEnv(String env) {
        this.env = env;
    }

    public String getAdminUsername() {
        return adminUsername;
    }

    public void setAdminUsername(String adminUsername) {
        this.adminUsername = adminUsername;
    }

    public String getAdminPassword() {
        return adminPassword;
    }

    public void setAdminPassword(String adminPassword) {
        this.adminPassword = adminPassword;
    }
}
